'''
Created on Mar 22, 2013

@author: jason.richmond
This class is the simulation model for email packets. Email packets are set with the 
priority flag and no drop flag both disabled. 

Performance of email packets is measured using a linear function of the average delay
of the packet and the % of packets that are not received within 5 minutes. 
'''

from Packet import Packet
from Globals import Globals

class EmailPacket(Packet):
    TotalEmailPackets = 0
    
    def __init__(self):
        Packet.__init__(self, Globals.FlagDisabled, Globals.FlagDisabled, Globals.EmailFTPPacketSize)
        EmailPacket.TotalEmailPackets += 1